<!-- BEGIN PAGE HEADER-->
<?php $this->load->view('partials/breadcrumb.tpl')?>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<script language="javascript">
function setPwdType(obj){
	idStr = obj.id;
	objHtml = "<input type=\"password\"";
	objHtml += " id=\"" + obj.name + "\"";
	objHtml += " name=\"" + obj.name + "\"";
	if(obj.value){
		objHtml += " value=\"" + obj.value + "\"";
	}
	if(obj.className){
		objHtml += " class=\"" + obj.className + "\"";
	}
	objHtml += " />";
	obj.parentElement.innerHTML = objHtml;
	firstObj = document.getElementById(idStr);
	if(firstObj != null){
		firstObj.value = "　";
		firstObj.focus();
		firstObj.value = "";
		firstObj.select();
	}
}
</script>
<div class="row">
	<div class="col-xs-12 ">
		<!-- BEGIN SAMPLE FORM PORTLET-->
		<div class="portlet box green ">
			<?=edit_form_caption(l($thisMethod).'管理员组')?>
			<div class="portlet-body form">
				<?=form_open('', Array('class'=>'form-horizontal', 'role'=>'form'))?>
                    <input type="hidden" id="update_time" name="update_time" value="<?=set_value('update_time', $obj->update_time)?>" />
					<div class="form-body">
                        <?=edit_form_input('name', set_value('name', $obj->name), '管理员组名称')?>
                        <?=edit_form_dropdown('type',MAdminGroup::$GROUPTYPE, set_value('type', $obj->type), '管理员组类型')?>
                        <?=edit_form_textarea('remark', set_value('remark', $obj->remark), '备注信息')?>
                        <?=edit_form_radio_list('status', MAdminGroup::getState(), set_value('status', $obj->status), '状态')?>
					</div>
					<?php $this->load->view('partials/submitButtons.tpl')?>
				<?=form_close()?>
			</div>
		</div>
		<!-- END SAMPLE FORM PORTLET-->
		<!-- BEGIN SAMPLE FORM PORTLET-->
	</div>
</div>
<!-- END PAGE CONTENT-->
